package com.example.demo.sys.mapper;

import com.example.demo.sys.entity.Work;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口 chrimer
 * </p>
 *
 * @author chrimer
 * @since 2020-07-01
 */
public interface WorkMapper extends BaseMapper<Work> {

    @Select("Select parentName from  coursevideo WHERE id=#{id}")
    String SelectParentName(String id);
}
